<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="keywords" content="" />
  <meta name="description" content="" />

  <%= stylesheet_link_tag "application" %> 
  <%= javascript_include_tag :defaults %>

  <title><%= @title %></title>

</head>
<body>
<div id="header">
 <div id="logo"></div>
</div>
<div id="page">
	<!-- start content -->
	<div id="content">
 		<%= yield -%>
	</div>
	<div id="sidebar1" class="sidebar">
		<ul>
		<% if logged_in? -%>
	    	<li><%= link_to "Home", root_path %></li>
		  	<li><%= link_to "Create Account", signup_path %></li> 
	      	<li><%= link_to "Logout",logout_path  %></li> 
	    <% else -%>  
	      	<li><%= link_to "Login", login_path %></li> 
	    <% end -%>
		</ul>			
	</div>

	<div style="clear: both;">&nbsp;</div>
</div>
<hr />
<div id="footer">
	 <p>Copyright &copy; 2008. Design by <a href="http://mickdelaney.com/" title="micKdelaney">micKdelaney</a></p>
</div>
</body>
</html>
